package com.two.lbms.dao;

import com.two.lbms.base.BaseMapper;
import com.two.lbms.vo.Reader;

import java.util.List;

import com.two.lbms.ww.query.ReaderInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author hjx
 * @version V1.0
 * @Date 2023/7/29 9:45
 */

@Mapper
public interface ReaderMapper extends BaseMapper<Reader,Integer> {

    Integer deleteByPrimaryKey(Integer id);

    int insert(Reader record);

    Integer insertSelective(Reader record);

    Reader selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Reader record);

    int updateByPrimaryKey(Reader record);

    Integer updateBatch(List<Reader> list);

    Reader selectByPrimaryName(String name);

    //多条件查询用户信息  继承自Base Mapper

    Reader selectByReaderName(String readerName);

    Integer selectReaderCount();
}